import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:aweb5/style.dart';
import 'package:aweb5/util/NaviUtil.dart';
import 'package:aweb5/pages/registry_success.dart';
import 'package:aweb5/pages/registery.dart';
class Unregistry extends StatefulWidget {
  @override
  _UnregistryState createState() => _UnregistryState();
}

class _UnregistryState extends State<Unregistry> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.white,
      body: SafeArea(child: Column(

        children: <Widget>[

          SizedBox(height: ScreenUtil().setHeight(60),),
          Image.asset("assets/assist/delete.png",width: ScreenUtil().setWidth(124),height: ScreenUtil().setHeight(124),),
          SizedBox(height: ScreenUtil().setHeight(42),),
          Row(
            mainAxisAlignment: MainAxisAlignment.center,
            children: <Widget>[
              Image.asset("assets/assist/weizhuce.png",width: ScreenUtil().setWidth(24),height: ScreenUtil().setHeight(24),),
              SizedBox(width: ScreenUtil().setWidth(12),),
              Text("我们监测到您，当前没有智能小助理",style: TextStyle(color: Color(0xff101010,),fontSize: ScreenUtil().setSp(16)))
            ],
          ),
          SizedBox(height: ScreenUtil().setHeight(50),),

          GestureDetector(

            child: Container(height: ScreenUtil().setHeight(40),width: ScreenUtil().setWidth(362),decoration: redButtonStyle,
              alignment: Alignment.center,
              child: Text("申请智能小助理",style: TextStyle(color: Colors.white,fontSize: ScreenUtil().setSp(16)),),

            ),
            onTap: (){

              NaviUtil.push(context, Reigistry());

            },

          )

        ],

      )),
      
    );
  }
}
